<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body,
      html {
        height: 100vh;
        margin: 0;
        padding: 0;
      }

      .container {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <button id="btn">发送</button>
    </div>
  </body>

  <script>
    document.getElementById('btn').onclick = function () {
      fetch('/huodong2/index/pltp.html', {
        method: 'POST',
        headers: {
          'Host': '00pingxuan.00pingxuan.top',
          'X-Requested-With': 'XMLHttpRequest',
          'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 NetType/WIFI MicroMessenger/7.0.20.1781(0x6700143B) WindowsWechat(0x63090a13) UnifiedPCWindowsWechat(0xf2541015) XWEB/16389 Flue',
          'Accept': 'application/json, text/plain, */*',
          'Content-Type': 'application/json;charset=UTF-8',
          'Origin': 'https://00pingxuan.00pingxuan.top',
          'Sec-Fetch-Site': 'same-origin',
          'Sec-Fetch-Mode': 'cors',
          'Sec-Fetch-Dest': 'empty',
          'Referer': 'https://00pingxuan.00pingxuan.top/details/49455971?token=q2MBgv2&code=031vu8ml2nSaag4zyHkl2UJjaL1vu8mY&state=STATE',
          'Accept-Encoding': 'gzip, deflate, br',
          'Accept-Language': 'zh-CN,zh;q=0.9',
          'Cookie': 'PHPSESSID=qd048171aimbm4294p6hrfl1g0; gdxidpyhxdE=59vdPzYJpEYdyh0%5COt8%2B1Nunek%2Fzd4eMNZGGED00M73Y2QimM%5CZAwmflKsAZAcruBCsJjvCDehoWZnUn1AWqcarLNgapqLm71tvm4tAKdyhZDJPx3DBQT349iIxvKPw3x4gMvoCcBTxUB3nbA%2BK7maUqyRAK%2BDxaO0vyyn82zw6%5CZo%2Bk%3A1756191348561'
        },
        body: JSON.stringify({
          u: '',
          dizhi: [],
          player_id: ['49455971'],
          yundun:
            'CN31_.9XvRFMATQEy2iCGCWCl4djSlWsS*gFcJsrW0xdLRSzikoAl9v_BxOOXOQS8Hu9VpLb3.nEJpINzmnSSLxDsqNyXpY8hnhRMXaYEINDjk9xhtPdoMQNZ5cbXROqQh8OgwWufUR.9mIbU4gfX0ZUIk5VNlDwvILzh*efUeXVW9CcxA8ATvU9iGlBqMURbZ*x1t12fFtd.xq*AsNoeGawBTGtWIcYZORoDKQI2_jQvDMdsIVQJVVAut2vu*pI8hpV94qAuoqa_VoMnoTQBGhAnz91gg_wQyJE36DsV*b8SkfMm.*MZaGf0b8ZdsZGLgllRWDoELHawzrPt63aQdme*WsajpW5U1L0lFnxXaa1jiKXnVaLSJsATUolIqFy5aWL_lskoLVctRH5Kuo3t*offXIv4hZh8piMe4ahF1WEOlNIkT.izB.tzlCG1_fc_XwRtQ9H..SZolWbKKFw1o__wsYK609Ge*VGIpOjUBEHsWNofPcBcIBaUlCKdYljfPN0zXUQ6gg77_v_i_1'
        })
      }).then(a => a.json()).then(b => {
        console.log(b)
        alert('ok')
      }).catch(err => {
        console.log(err)
        alert('err')
      })
    }
  </script>
</html>
